from collections import ChainMap

name_dict = {"name": "python", "age": 18, "weight": 130}
name_dict2 = {"name": "claus", "height": 180}
new_dict = ChainMap(name_dict2, name_dict)

for i, j in new_dict.items():
    print(i, j)
